package com.main.modulemysql.service;

import com.baomidou.mybatisplus.service.IService;
import com.main.modulemysql.entity.Equipment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author IceZhang
 * @since 2018-08-07
 */
public interface IEquipmentService extends IService<Equipment> {

    public Integer getEquipmentCountByFacilityCode(@Param("facilityCode") String facilityCode);

    Integer getFaultEquipmentCountByFacilityCode(@Param("facilityCode")String facilityCode);

    Integer getEquipmentCountByCateogoryCode(String categoryCode);



    public List<Equipment> selectPage();
}
